#ifndef _DEV_CONFIG_H_
#define _DEV_CONFIG_H_

#include <stdint.h>
#include "sys.h"
#include "delay.h"

#define UBYTE   uint8_t
#define UWORD   uint16_t
#define UDOUBLE uint32_t

#define EPD_SPI_DIN 	PFout(0)
#define EPD_SPI_CLK 	PFout(1)
#define EPD_CS_PIN 		PFout(2)
#define EPD_DC_PIN 		PFout(3)

#define EPD_RST_PIN 	PFout(4)
#define EPD_BUSY_PIN 	PFin(5)

#define DEV_Delay_ms(__xms) delay_ms(__xms);

void DEV_SPI_WriteByte(UBYTE value);
int DEV_Module_Init(void);
void DEV_Module_Exit(void);


#endif
